package com.lanou.zhihu.service;

import com.lanou.zhihu.entity.Comment;

import java.util.List;

/**
 * Created by QuChao on 2018/10/26.
 */
public interface CommentService {
    boolean add(Comment comment);

    boolean delete(Integer userId, Integer cid);

    List<Comment> findByAid(Integer aid);

    Integer getCountByAid(Integer aid);
}
